package com.techsoul.module.order.pojo.param;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.techsoul.common.core.pojo.param.BaseSearchParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
    
/**
 * 销售订单 查询参数
 * 
 * @author liuen
 * @date 2021-07-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SalesOrderHisSearchParam extends BaseSearchParam {

    @ApiModelProperty("销售订单号")
    private String salesOrderNo;

    @ApiModelProperty("订单类型")
    private String orderType;

    @ApiModelProperty("订单来源")
    private String sourceType;

    @ApiModelProperty("客户ID")
    private String customerId;

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("优惠金额")
    private BigDecimal preMoney;

    @ApiModelProperty("运费")
    private BigDecimal freightFee;

    @ApiModelProperty("销售员ID")
    private String salesManId;

    @ApiModelProperty("销售员")
    private String salesMan;

    @ApiModelProperty("优惠券ID")
    private String couponId;

    @ApiModelProperty("优惠券抵扣金额")
    private BigDecimal couponAmount;

    @ApiModelProperty("数量合计")
    private Long totalQty;

    @ApiModelProperty("金额合计")
    private BigDecimal totalMoney;

    @ApiModelProperty("收货人")
    private String receiver;

    @ApiModelProperty("收货人手机")
    private String receiverPhone;

    @ApiModelProperty("收货人省")
    private String receiverProvince;

    @ApiModelProperty("收货人市")
    private String receiverCity;

    @ApiModelProperty("收货人区")
    private String receiverDistrict;

    @ApiModelProperty("收货人地址")
    private String receiverAddress;

    @ApiModelProperty("买家留言")
    private String buyerMessage;

    @ApiModelProperty("提案文件地址")
    private String quoteUrl;

    @ApiModelProperty("确认提案时间")
    private Date confirmQuoteTime;

    @ApiModelProperty("是否评价")
    private String buyerRate;

    @ApiModelProperty("交易流水号")
    private String transactionId;

    @ApiModelProperty("支付类型，1、在线支付、0 货到付款")
    private String payType;

    @ApiModelProperty("预付单号")
    private String prepayId;

    @ApiModelProperty("预付微信openid")
    private String prepayOpenid;

    @ApiModelProperty("预付单号生成时间")
    private Date prepayTime;

    @ApiModelProperty("实付金额")
    private BigDecimal payMoney;

    @ApiModelProperty("付款时间")
    private Date payTime;

    @ApiModelProperty("支付状态")
    private String payStatus;

    @ApiModelProperty("物流单号")
    private String expressNo;

    @ApiModelProperty("物流公司名称")
    private String expressCompanyName;

    @ApiModelProperty("发货时间")
    private Date deliveryTime;

    @ApiModelProperty("发货状态")
    private String deliveryStatus;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    @ApiModelProperty("工作流实例ID")
    private String procInsId;

    @ApiModelProperty("主管审核")
    private String supervisorAuditBy;

    @ApiModelProperty("主管审核备注")
    private String supervisorAuditRemark;

    @ApiModelProperty("部门经理审核")
    private String deptManagerAuditBy;

    @ApiModelProperty("部门经理审核备注")
    private String deptManagerAuditRemark;

    @ApiModelProperty("总经理审核")
    private String generalManagerAuditBy;

    @ApiModelProperty("总经理审核备注")
    private String generalManagerAuditRemark;

    @ApiModelProperty("交易完成时间")
    private Date endTime;

    @ApiModelProperty("交易关闭时间")
    private Date closeTime;

    @ApiModelProperty("所属店铺ID")
    private String storeId;

    @ApiModelProperty("")
    private String custSalesOrderNo;

    @ApiModelProperty("店铺来源")
    private String storeSource;

    @ApiModelProperty("")
    private String site;

    @ApiModelProperty("")
    private String importErrorMesg;

    @ApiModelProperty("")
    private String errorFlag;

    @ApiModelProperty("")
    private String errorCode;

}
